Nothing uses GdkScreen anymore, so we can get rid of it.
#include "gdkwindowimpl.h"
#include "gdkinternals.h"
#include "gdkmarshalers.h"
-#include "gdkscreen.h"
#include "gdkmonitorprivate.h"
#include <math.h>
+++ /dev/null
-/*
- * gdkscreen.c
- *
- * Copyright 2001 Sun Microsystems Inc.
- *
- * Erwann Chenede <erwann.chenede@sun.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "config.h"
-
-#include "gdkinternals.h"
-#include "gdkscreenprivate.h"
-#include "gdkrectangle.h"
-#include "gdkwindow.h"
-#include "gdkintl.h"
-
-
-/**
- * SECTION:gdkscreen
- * @Short_description: Object representing a physical screen
- * @Title: GdkScreen
- *
- * #GdkScreen objects are the GDK representation of the screen on
- * which windows can be displayed and on which the pointer moves.
- * X originally identified screens with physical screens, but
- * nowadays it is more common to have a single #GdkScreen which
- * combines several physical monitors (see gdk_screen_get_n_monitors()).
- *
- * GdkScreen is used throughout GDK and GTK+ to specify which screen
- * the top level windows are to be displayed on.
- */
-
-
-G_DEFINE_TYPE (GdkScreen, gdk_screen, G_TYPE_OBJECT)
-
-static void
-gdk_screen_class_init (GdkScreenClass *klass)
-{
-}
-
-static void
-gdk_screen_init (GdkScreen *screen)
-{
-}
+++ /dev/null
-/*
- * gdkscreen.h
- *
- * Copyright 2001 Sun Microsystems Inc.
- *
- * Erwann Chenede <erwann.chenede@sun.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GDK_SCREEN_H__
-#define __GDK_SCREEN_H__
-
-#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
-#error "Only <gdk/gdk.h> can be included directly."
-#endif
-
-#include <cairo.h>
-#include <gdk/gdkversionmacros.h>
-#include <gdk/gdktypes.h>
-#include <gdk/gdkdisplay.h>
-
-G_BEGIN_DECLS
-
-#define GDK_TYPE_SCREEN (gdk_screen_get_type ())
-#define GDK_SCREEN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_SCREEN, GdkScreen))
-#define GDK_IS_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SCREEN))
-
-
-GType gdk_screen_get_type (void) G_GNUC_CONST;
-
-G_END_DECLS
-
-#endif /* __GDK_SCREEN_H__ */
+++ /dev/null
-/* GDK - The GIMP Drawing Kit
- * Copyright (C) 2010 Red Hat, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GDK_SCREEN_PRIVATE_H__
-#define __GDK_SCREEN_PRIVATE_H__
-
-#include "gdkscreen.h"
-
-G_BEGIN_DECLS
-
-#define GDK_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_SCREEN, GdkScreenClass))
-#define GDK_IS_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_SCREEN))
-#define GDK_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_SCREEN, GdkScreenClass))
-
-typedef struct _GdkScreenClass GdkScreenClass;
-
-struct _GdkScreen
-{
- GObject parent_instance;
-
- guint closed : 1;
-};
-
-struct _GdkScreenClass
-{
- GObjectClass parent_class;
-};
-
-G_END_DECLS
-
-#endif
#include "gdkrectangle.h"
#include "gdkinternals.h"
#include "gdkintl.h"
-#include "gdkscreenprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkdeviceprivate.h"
#include "gdkmarshalers.h"
'gdkproperty.c',
'gdkrectangle.c',
'gdkrgba.c',
- 'gdkscreen.c',
'gdkseat.c',
'gdkseatdefault.c',
'gdkselection.c',